import service from '@/utils/request'
export const gsmGetCategory = (params) => {
  return service({
    url: '/gsm/gsmGetCategory',
    method: 'get',
    params
  })
}

export const gsmGetidCategory = (params) => {
  return service({
    url:'/gsm/gsmGetidCategory',
    method:'get',
    params
  })
}

export const gsmDeleteCategory = (params) => {
  return service({
    url:'/gsm/gsmDeleteCategory',
    method:'delete',
    params
  })
}

export const gsmCreateCategory = (data) => {
  return service({
    url:'/gsm/gsmCreateCategory',
    method:'post',
    data
  })
}

export const gsmUpdateCategory = (data) => {
  return service({
    url:'/gsm/gsmUpdateCategory',
    method:'put',
    data
  })
}
